<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="jquery-3.6.0.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#hide").click(function(){
            $("p").hide();
        })
        });
    </script>
</head>
<body>
    <button id="hide" type="button">隐藏</button>
    <p>isk</p>
</body>
</html>